package com.baibei.ebec.user.reset;

import com.baibei.basic.IPresenter;
import com.baibei.basic.IPresenterView;
import com.baibei.basic.ISendSmsView;

/**
 * 重置密码
 * Created by ChenRui on 2017/5/23 0023 11:58.
 */
public interface ResetPasswordContract {

    interface Presenter extends IPresenter {
        /**
         * 发送短信
         */
        void sendSms();

        /**
         * 重置密码
         */
        void resetPassword();

        boolean isCountDownFinish();
    }

    interface View extends IPresenterView, ISendSmsView {

        /**
         * 获取手机号码
         */
        String getPhoneNumber();

        void onResetPasswordFailed(String message);

        void onResetPasswordSuccess();

        String getPassword();

        String getSmsCode();
    }
}
